package com.luiz.gymmoves;

import com.actionbarsherlock.R;
import com.actionbarsherlock.app.SherlockActivity;


import android.app.Activity;
import android.app.Dialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

public class GymMovesActivity extends SherlockActivity{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        

      
       
       
       Button bt = (Button) findViewById(R.id.buttonLogar);
        bt.setOnClickListener(new OnClickListener() {
			
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
		        Animation anim = AnimationUtils.loadAnimation(getApplicationContext(), R.anim.myanimation);
		        LinearLayout ll = (LinearLayout) findViewById(R.id.llteste);
				ll.setAnimation(anim);
			}
		});
    }
}